package com.um.jdy.common.shop.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * @author 甘天伟
 * @since 2022/4/24
 * 版权所有 广州优匠科技有限公司
 */
public class AftersaleEnum {

    /**
     * @author renjunwei
     * @date 2020/9/19 09:37
     */
    @Getter
    @AllArgsConstructor
    public enum Status {

        // 状态：UnReview待审核｜UnSendBack待寄回｜UnSend待寄出｜UnReceive待收货｜Refund待退款｜Reject已驳回｜Cancelled已取消｜Completed已完成

        UnReview("待审核"),
        UnSendBack("待寄回"),
        UnSend("待寄出"),
        UnReceive("待收货"),
        Refund("待退款"),
        Reject("已拒绝"),
        Cancelled("已取消"),
        Completed("已完成");

        private String value;

    }

    /**
     * 活动类型
     */
    @Getter
    @AllArgsConstructor
    public enum ActivityType {
        Seckill("秒杀"),
        Group("拼团"),
        Reduce("满减满赠"),
        ;

        private String value;
    }

    /**
     * 售后类型
     */
    @Getter
    @AllArgsConstructor
    public enum Type {

        // 类型：Refund退款|ReturnRefund退货退款|Exchange换货|Reissue补发

        Refund("退款"),
        ReturnRefund("退货退款"),
        Exchange("换货"),
        Reissue("补发");

        private String value;
    }

    /**
     * 售后原因
     */
    @Getter
    @AllArgsConstructor
    public enum Reason {
        Error("卖家发错货"),
        Quality("质量问题"),
        NoReason("七天无理由"),
        Invoice("发票问题"),
        NoGoods("商品与描述不符"),
        ;

        private String value;
    }
}
